package com.dhh.sky.util;

import java.util.ArrayList;
import java.util.List;

import android.os.Environment;

public class Constant {
	public final static List<String> supportFileType = new ArrayList<String>();
	public final static List<String> musicFileType = new ArrayList<String>();
	public final static List<String> vedioFileType = new ArrayList<String>();
	public final static List<String> pictureFileType = new ArrayList<String>();
	
	public static final String SKYDRIVE_LOCAL_PATH =  Environment.getExternalStorageDirectory().getPath()+"/SkyDrive";
	
	public static final String TAG = "SDM";
	
	public static final String BOARDFAST_UPLOAD_PROGRESS = "BOARDFAST_UPLOAD_PROGRESS";
	public static final String BOARDFAST_UPLOAD_REFRESH = "BOARDFAST_UPLOAD_REFRESH";	
	public static final String BOARDFAST_DOWNLOAD_PROGRESS = "BOARDFAST_DOWNLOAD_PROGRESS";
	public static final String BOARDFAST_DOWNLOAD_REFRESH = "BOARDFAST_DOWNLOAD_REFRESH";
	
	public static final String SYNC_PARAM_ERROR = "SYNC_PARAM_ERROR";
	public static final String SERVICE_SYNC_REFRESH = "SERVICE_SYNC_REFRESH";
	
	public static final String SERVICE_NAME_BASIC = "SERVICE_NAME_BASIC";
	public static final String SERVICE_NAME_DELETE = "SERVICE_NAME_DELETE";
	public static final String SERVICE_NAME_NEW_FOLDER = "SERVICE_NAME_NEW_FOLDER";
	public static final String SERVICE_NAME_RENAME = "SERVICE_NAME_RENAME";
	public static final String SERVICE_NAME_COPY = "SERVICE_NAME_COPY";
	public static final String SERVICE_NAME_MOVE = "SERVICE_NAME_MOVE";
	public static final String SERVICE_NAME_SYNC = "SERVICE_NAME_BASIC";
	public static final String SERVICE_NAME_UPLOAD = "SERVICE_NAME_UPLOAD";
	public static final String SERVICE_NAME_DOWNLOAD = "SERVICE_NAME_DOWNLOAD";
	public static final String SERVICE_NAME_OPEN = "SERVICE_NAME_OPEN";
	public static final String SERVICE_NAME_CONNECT = "SERVICE_NAME_CONNECT";
	public static final String SERVICE_NAME_CAMERA = "SERVICE_NAME_CAMERA";
	public static final String SERVICE_NAME_MUSIC = "SERVICE_NAME_MUSIC";
	
	public static final String SERVICE_PARAM_ID = "SERVICE_PARAM_ID";
	public static final String SERVICE_PARAM_DONE = "SERVICE_PARAM_DONE";
	public static final String SERVICE_PARAM_MSG = "SERVICE_PARAM_MSG";
	public static final String SERVICE_PARAM_ERROR = "SERVICE_PARAM_ERROR";
	
	public static final String SKYFRIVE_PATH_HOME = "me/skydrive";
	public static final String SKYFRIVE_PATH_RECENT_DOCS = "me/skydrive/recent_docs";
	public static final String SKYFRIVE_PATH_SHARED = "me/skydrive/shared";
	public static final String SKYFRIVE_PATH_CAMERA = "skydrive/camera_roll";
	
	public static final String PARAM_PATH = "PARAM_PATH";
	public static final String PARAM_ITEM_NAME = "PARAM_ITEM_NAME";
	public static final String PARAM_REQUEST = "PARAM_REQUEST";
	public static final String PARAM_ID = "PARAM_ID";
	public static final String PARAM_PROGRESS = "PARAM_PROGRESS";
	public static final String PARAM_MAX = "PARAM_MAX";
	public static final String PARAM_DONE = "PARAM_DONE";
	public static final String PARAM_MESSAGE = "PARAM_MESSAGE";
	public static final String PARAM_LIST = "PARAM_LIST";
	public static final String PARAM_OPERATION = "PARAM_OPERATION";
	
	public static final String SONG_TITLE = "songTitle";
	public static final String SONG_PATH = "songPath";
	
	public static final int REQ_OPERATION_COPY = 1;
	public static final int REQ_OPERATION_MOVE = 2;
	public static final int REQ_OPERATION_UPLOAD = 3;
	
	public static final int NOTIFICATION_UPLOAD_ID = 0;
	public static final int NOTIFICATION_DOWNLOAD_ID = 1;
	public static final int NOTIFICATION_MUSIC_ID = 1;
	
	public static final String CAMERA_UPLOAD_FOLDER = "uploadFolder";
	public static final String FOLDER_LOG_CAMERA_FOLDER = "camera_upload";
	public static final String FOLDER_LOG_CAMERA_FOLDER_TEMP = "camera_upload_temp";	

	public static final String TRANSFER_VIEW_DOWNLOAD = "TRANSFER_VIEW_DOWNLOAD";
	public static final String TRANSFER_VIEW_UPLOAD = "TRANSFER_VIEW_UPLOAD";
	public static final String TRANSFER_DOWNLOAD_COMPLETED = "TRANSFER_DOWNLOAD_COMPLETED";
	public static final String TRANSFER_DOWNLOAD_UNCOMPLETED = "TRANSFER_DOWNLOAD_UNCOMPLETED";
	public static final String TRANSFER_UPLOAD_COMPLETED = "TRANSFER_UPLOAD_COMPLETED";
	public static final String TRANSFER_UPLOAD_UNCOMPLETED = "TRANSFER_UPLOAD_UNCOMPLETED";	
	public static final String TRANSFER_COMPLETED = "TRANSFER_COMPLETED";	
	public static final String TRANSFER_UNCOMPLETED = "TRANSFER_UNCOMPLETED";	
	
	static{
        supportFileType.add("3g2");
        supportFileType.add("3gp");
        supportFileType.add("ai");
        supportFileType.add("bmp");
        supportFileType.add("chm");
        supportFileType.add("doc");
        supportFileType.add("docm");
        supportFileType.add("docx");
        supportFileType.add("dot");
        supportFileType.add("dotx");
        supportFileType.add("epub");
        supportFileType.add("gif");
        supportFileType.add("jpeg");
        supportFileType.add("jpg");
        supportFileType.add("mp4");
        supportFileType.add("one");
        supportFileType.add("pdf");
        supportFileType.add("png");
        supportFileType.add("pot");
        supportFileType.add("potm");
        supportFileType.add("potx");
        supportFileType.add("pps");
        supportFileType.add("ppsm");
        supportFileType.add("ppsx");
        supportFileType.add("ppt");
        supportFileType.add("pptm");
        supportFileType.add("pptx");
        supportFileType.add("psd");
        supportFileType.add("tif");
        supportFileType.add("tiff");
        supportFileType.add("txt");
        supportFileType.add("xls");
        supportFileType.add("xlsb");
        supportFileType.add("xlsm");
        supportFileType.add("xlsx");
        supportFileType.add("wav");
        supportFileType.add("webp");
        supportFileType.add("wmv");
        
        musicFileType.add("mp3");
        musicFileType.add("wav");
        musicFileType.add("wma");
        musicFileType.add("midi");
        musicFileType.add("au");
        musicFileType.add("ape");
        musicFileType.add("aac");
        
        vedioFileType.add("avi");
        vedioFileType.add("mov");
        vedioFileType.add("asf");
        vedioFileType.add("wmv");
        vedioFileType.add("navi");
        vedioFileType.add("3gp");
        vedioFileType.add("rm");
        vedioFileType.add("rmvb");
        vedioFileType.add("mkv");
        vedioFileType.add("f4v");
        vedioFileType.add("webm");

        pictureFileType.add("bmp");
        pictureFileType.add("pcx");
        pictureFileType.add("tiff");
        pictureFileType.add("gif");
        pictureFileType.add("jpeg");
        pictureFileType.add("jpg");
        pictureFileType.add("tga");
        pictureFileType.add("exif");
        
        
	}
}
